package com.gitee.feizns.itrip.personal.beans.dto;

/**
 * 包装 Token 信息
 * @author feizns
 * @since 2018/12/28 0028
 */
public class Token {

    /**
     * Token
     */
    private String token;

    /**
     * 过期时间
     */
    private Long expTime;

    /**
     * 生成时间
     */
    private Long genTime;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Long getExpTime() {
        return expTime;
    }

    public void setExpTime(Long expTime) {
        this.expTime = expTime;
    }

    public Long getGenTime() {
        return genTime;
    }

    public void setGenTime(Long genTime) {
        this.genTime = genTime;
    }

    public Token() { }

    public Token(String token, Long expTime, Long genTime) {
        this.token = token;
        this.expTime = expTime;
        this.genTime = genTime;
    }

}
